package com.yunxi.otd.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.otd.pojo.OtdInterfaceConfigQueryVO;
import com.yunxi.otd.pojo.OtdInterfaceConfigVO;
import java.util.List;

/**
 * <p>
 * SO、CIR接口时间设置 服务类
 * </p>
 *
 * @author XUQI
 * @since 2019-07-10
 */
public interface OtdInterfaceConfigDubboService {

    OtdInterfaceConfigVO getById(String id);

    ApiResult saveOrUpdate(OtdInterfaceConfigVO otdInterfaceConfigVO);

    PageInfo findPageByVO(OtdInterfaceConfigQueryVO queryVO, Integer pageNum,
        Integer pageSize);

    List listByVo(OtdInterfaceConfigVO otdInterfaceConfigVO);

    void removeByIds(List<String> ids);

    /**
     * 获取已发送的日期
     * @param yearMonth 年月
     * @return ApiResult
     */
    ApiResult getSendDays(String yearMonth, String type);
}
